package com.gec.auction.mapper;

import com.gec.auction.pojo.Auction;
import com.gec.auction.pojo.AuctionCustomer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author:gec
 * @Date:2022/4/12
 * @Description:code
 * @version:1.0
 */
@Mapper
public interface AuctionCustomerMapper {
    Auction selectAuctionByAuctionId(Integer auctionId);

    /**
     * 拍卖已经结束的商品
     * @return
     */
    List<AuctionCustomer> selectAuctionEndTime();

    /**
     * 正在拍卖的商品
     * @return
     */
    List<Auction> selectAuctionNoEndTime();
}